function selectTree(url,objid,objname,callback){
			var selectId = document.getElementById(objid).value;
			strFeatures="dialogWidth=400px;dialogHeight=500px;center=yes;help=no;status=no";
			returnval = window.showModalDialog(url,self,strFeatures);
			try {
				if (returnval != undefined&&returnval!='') {
		       		var opt = returnval.split("_");
			       	var id=opt[0];
			       	var name = opt[1];
			       	document.getElementById(objid).value=id;
			       	document.getElementById(objname).value=name;
			       	callback(returnval);
		       	}else{
		       		document.getElementById(objid).value="";
			       	document.getElementById(objname).value="";
		       	}
	       	}
	   		catch(e) {
	   			//alert(e);
	   		}
		}
		
		